package com.dhx.service.impl;

import com.dhx.mapper.TeacherMapper;
import com.dhx.pojo.Teacher;
import com.dhx.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherServiceimpl implements TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;

    @Override
    public void savejl(Teacher teacher) {
        teacherMapper.savejl(teacher);
    }

    @Override
    public List<Teacher> findjl(String id, String model) {
        return teacherMapper.findjl(id, model);
    }

    @Override
    public void updatejl(Teacher teacher) {

    }

    @Override
    public void deljl(String id) {
        teacherMapper.deljl(id);
    }
}
